package com.project.service;

import com.project.entity.Notice;

import java.util.List;

/**
 * Created by hasee on 2017/4/28.
 */
public interface NoticeService {
    Notice findById(int id);
    int modify(Notice notice);
    int add(Notice notice);
    int delete(int id);
    List<Notice> findAll();

    /**
     * author: WheelChen
     * date: 2017/6/26
     * function: 分页条件查找
     *
     * @param notice
     * @return
     */
    List<Notice> findByCondition(Notice notice);


}
